From 9ee32217aec5f9e83542a6759218d086fb34c5ea Mon Sep 17 00:00:00 2001 From: Magnus Henoch Date: Wed, 15 Nov 2006 23:29:43 +0000 Subject: [PATCH] (url-http): Make proxy-object buffer-local, to handle proxied asynchronous connections correctly. --- lisp/url/url-http.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index dc670188e26..69c04c51c28 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -1071,7 +1071,8 @@ CBARGS as the arguments." url-http-chunked-length url-http-chunked-start url-http-chunked-counter - url-http-process)) + url-http-process + proxy-object)) (let ((connection (url-http-find-free-connection (url-host url) (url-port url))) (buffer (generate-new-buffer (format " *http %s:%d*" @@ -1106,6 +1107,7 @@ CBARGS as the arguments." url-http-data url-http-target-url)) (set (make-local-variable var) nil)) + (make-local-variable 'proxy-object) (setq url-http-method (or url-request-method "GET") url-http-extra-headers url-request-extra-headers -- 2.30.2